<?

class CTitle{
	private static $sections = array();
	private static $description = "";
	private static $icon = "/favicon.ico";

	static public function addSection  ($title_section){
		self::$sections[] = $title_section;
	}

	static public function get(){
        return join(" | ", self::$sections);
	}
	
	static public function clear(){
		self::$sections = array();
	}
    
    static public function setTitle($title){
        self::$sections = null;
        self::$sections[] = $title;
    }
    
    static public function getDescription(){
    	return self::$description;
	}
	
	static public function setDescription($desc){
		self::$description = $desc;
	}
	
	static public function getIcon(){
		return self::$icon;
	}
	
	static public function setIcon($path){
		self::$icon = $path;
	}
}
?>